<template>
  <div class="main">
    <!-- <div class="title-wrap">
      <h1 class="title">常用免费在线办公工具</h1>
    </div> -->
    <div class="tools">
      
    </div>

  </div>
</template>
<script setup>
import { onMounted,ref } from 'vue'
import { request } from '@/api/fetch'
definePageMeta({
  title: '49码在线统计',
  description: '49码在线统计',
  middleware:(to)=>{
    console.log('to:',to)
    return navigateTo('/49count')
  }
})


const router = useRouter()

onMounted(async ()=>{
  // 获取当前系统的会员数量
 
  
})
</script>
<style lang="scss" scoped>
.main{
  border-top: 1px solid #eee;
  background-color: #f5f5f5;
  
}
.tools {
  padding: 20px;
  margin: auto;
  background: white;
  min-height: calc(100vh - 430px);
  .tools-title{
    font-weight: bold;
    margin-top: 20px;
    font-size: 20px;
  }

  .tools-container {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top:20px;
    .t-item {
      box-sizing: border-box;
      font-size: 36px;
      line-height: 38px;
      background: #fff;
      border: 1px solid #f5f5fa;
      margin: 0px 4px 8px;
      position: relative;
      overflow: hidden;
      transition: box-shadow 0.4s ease-out, background-color 0.4s ease-out,
        -webkit-box-shadow 0.4s ease-out;
      z-index: 1;
      border-radius: 4px;
      box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
      flex-basis: calc(25% - 4px);
      flex-grow: 0;
      flex-shrink: 0;
      padding: 24px;
      display: block;
      position: relative;
      z-index: 2;
      text-decoration: none;
      font-weight: 400;
      line-height: 38px;
      cursor:pointer;
      .item-title-wrap {
        display: flex;
        align-items: center;
        margin-bottom:8px;
        cursor : pointer;
        .el-icon {
          width: 42px;
          height: 42px;
          svg {
            color: #409eff;
          }
        }
        .t-item-title {
          font-weight: 500;
          font-size: 20px;
          color: #33333b;
          margin:0px;
          // margin-left: 10px;
          word-break: keep-all;
          font-weight: bold;
          cursor : pointer;
        }
      }
      
      .t-item-des {
        line-height: 18px;
        font-weight: 400;
        letter-spacing: 0.3px;
        font-size: 13px;
        color: #707078;
        max-height: 54px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
  }
}

.info {
  display: flex;
  align-content: center;
  justify-content: center;
  background: #f5f5f5;
  padding: 0px 32px 32px;
  box-sizing: border-box;

  .info-container {
    width: 100%;

    // display: flex;
    // align-items: center;
    // justify-content: space-between;
    .info-item {
      width: 100%;
      // width: 50%;
      height: inherit;
      flex-shrink: 0;
      overflow: hidden;
      .el-table {
        width: 100%;
        height: 100%;
        max-height: 480px;
      }
    }
  }
  
  .demo {
    margin-top: 16px;
    background: white;
    padding: 4px;
  }
}

@media screen and (max-width: 1280px) {
  .tools {
    .tools-container {
      .t-item {
        flex-basis: calc(25% - 4px);
      }
    }
  }
}

@media screen and (max-width: 960px) {
  .tools {
    .tools-container {
      .t-item {
        flex-basis: calc(33.33% - 4px);
      }
    }
  }
}
@media screen and (max-width: 640px) {
  .tools {
    .tools-container {
      .t-item {
        flex-basis: calc(50% - 4px);
        padding: 12px;
      }
    }
  }
}
@media screen and (max-width: 440px) {
  .tools {
    .tools-container {
      .t-item {
        flex-basis: calc(100% - 4px);
        padding: 12px;
      }
    }
  }
}
</style>
